package com.huaxin.device.dto.request;

import com.huaxin.device.dto.enums.validation.ValidWaterproofGrade;
import com.huaxin.device.dto.request.base.BasePageReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ElectricalWellPageListReqDTO extends BasePageReqDTO {

    @Schema(description = "电井名称关键字", example = "电井1")
    private String wellName;

    @Schema(description = "编号关键字", example = "WELL-01")
    private String wellCode;

    @Schema(description = "位置关键字", example = "1号楼")
    private String location;

    @Schema(description = "防水等级：IPX0/IPX1/IPX2/IPX3/IPX4/IPX5/IPX6/IPX7/IPX8/IPX9", example = "IPX5")
    @ValidWaterproofGrade
    private String waterproofGrade;

    @Schema(description = "是否有防火门", example = "1")
    private Boolean fireDoorExists;

    @Schema(description = "组织ID", example = "org-01")
    private String orgId;

    @Schema(description = "家庭ID", example = "family-01")
    private String familyId;
}